From: Georges Basile Stavracas Neto Date: Thu, 28 Jun 2018 21:37:44 +0000 (-0300) Subject: switcherList: Remove unused variable X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~897^2~1^2~105 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9a47b4b343018bf07fdf1c57b3bf6ffaf5c2be4e;p=gnome-shell.git switcherList: Remove unused variable The title is self-explanatory, 'primary' was not being used anywhere. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/153 --- diff --git a/js/ui/switcherPopup.js b/js/ui/switcherPopup.js index ad77787cf..e8681443c 100644 --- a/js/ui/switcherPopup.js +++ b/js/ui/switcherPopup.js @@ -587,7 +587,6 @@ var SwitcherList = new Lang.Class({ let children = this._list.get_children(); let childBox = new Clutter.ActorBox(); - let primary = Main.layoutManager.primaryMonitor; let parentRightPadding = this.actor.get_parent().get_theme_node().get_padding(St.Side.RIGHT); for (let i = 0; i < children.length; i++) {